import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'; // 引入 Element Plus
import 'element-plus/dist/index.css'; // 引入 Element Plus 的样式
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import myIcon from './components/myIcon.vue'
import historyIcon from './components/historyIcon.vue'
import slideIcon from './components/slideIcon.vue'
import phone from './components/phone.vue'
import people from './components/people.vue'
import intenet from './components/intenet.vue'
import upload from './components/upload.vue'
import think from './components/think.vue'
import send from './components/send.vue'
import aside from './components/layout/aside.vue'
const app= createApp(App)
app.use(ElementPlus, {
    locale: zhCn, // 设置语言为中文
  });
app.component('myIcon',myIcon)
app.component('historyIcon',historyIcon)
app.component('slideIcon',slideIcon)
app.component('phone',phone)
app.component('people',people)
app.component('intenet',intenet)
app.component('upload',upload)
app.component('think',think)
app.component('send',send)
app.component('easide',aside)
app.use(router)


app.mount('#app')
